/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.worldscale.xp.wslib.im.jabber.impl;

import net.worldscale.xp.wslib.im.jabber.Jabber;
import net.worldscale.xp.wslib.im.jabber.JabberClient;
import net.worldscale.xp.wspr.ModuleInfo;
import net.worldscale.xp.wspr.ModuleKey;

/**
 *
 * @author Kun
 */
final class ImplJabber extends Jabber {

    public static class MyInfo extends ModuleInfo {

        @Override
        public ModuleKey getKey() {
            return Jabber.MODULE_KEY;
        }

        @Override
        public String getName() {
            return "Jabber";
        }

        @Override
        public String getVersion() {
            return "1.0";
        }
    }

    @Override
    public ModuleInfo getInfo() {
        return new MyInfo();
    }

    @Override
    public JabberClient newClient() {
        return ImplJabberClient.newInstance();
    }
}
